﻿using System;

namespace EkStudio.com.bean.xml.reflection
{
    [AttributeUsage(AttributeTargets.Property,AllowMultiple = false,Inherited = false)]
    public class XmlElement:Attribute
    {
        private string name = "";
        private string description = "";

        public XmlElement()
        {

        }
        public XmlElement(string _name)
        {
            this.name = _name;
        }
        public XmlElement(string _name, string _remark)
        {
            this.name = _name;
            this.description = _remark;
        }

        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
            }
        }

        public string Description
        {
            get
            {
                return description;
            }

            set
            {
                description = value;
            }
        }
    }
}
